<%@ include file="init.jsp"%>
<script type="text/javascript">
	Ext.Loader.setConfig({enabled: true});
	Ext.ns('CDR.I18N');
	
	CDR.rootNode = ${applicationScope['rootNode']};
	Ext.ns('CDR.Constant');
	CDR.Constant.CONTEXT_PATH = '${pageContext.request.contextPath}';
	CDR.Constant.WINDOW_EDIT_MODE = 'EDIT';
	CDR.Constant.WINDOW_NEW_MODE = 'NEW';
	CDR.toolTips = [];
	
	CDR.I18N['global.title'] = '<spring:message code="global.title" javaScriptEscape="true"/>';
	CDR.I18N['button.save'] = '<spring:message code="button.save" javaScriptEscape="true"/>';
	CDR.I18N['button.cancel'] = '<spring:message code="button.cancel" javaScriptEscape="true"/>';
	CDR.I18N['button.login'] = '<spring:message code="button.login" javaScriptEscape="true"/>';
	CDR.I18N['button.reset'] = '<spring:message code="button.reset" javaScriptEscape="true"/>';
	CDR.I18N['button.logout'] = '<spring:message code="button.logout" javaScriptEscape="true"/>';
	CDR.I18N['label.search'] = '<spring:message code="label.search" javaScriptEscape="true"/>';
	CDR.I18N['login.username'] = '<spring:message code="login.username" javaScriptEscape="true"/>';
	CDR.I18N['login.password'] = '<spring:message code="login.password" javaScriptEscape="true"/>';
	
	CDR.I18N['pbx.factory.title'] = '<spring:message code="pbx.factory.title" javaScriptEscape="true"/>';
	CDR.I18N['pbx.factory.new'] = '<spring:message code="pbx.factory.new" javaScriptEscape="true"/>';
	CDR.I18N['pbx.factory.edit'] = '<spring:message code="pbx.factory.edit" javaScriptEscape="true"/>';
	CDR.I18N['pbx.new'] = '<spring:message code="pbx.new" javaScriptEscape="true"/>';
	CDR.I18N['pbx.form.title'] = '<spring:message code="pbx.form.title" javaScriptEscape="true"/>';
	CDR.I18N['pbx.form.name'] = '<spring:message code="pbx.form.name" javaScriptEscape="true"/>';
	CDR.I18N['pbx.form.description'] = '<spring:message code="pbx.form.description" javaScriptEscape="true"/>';
	
	CDR.I18N['service-provider.title'] = '<spring:message code="service-provider.title" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.new'] = '<spring:message code="service-provider.new" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.edit'] = '<spring:message code="service-provider.edit" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.trunk.new'] = '<spring:message code="service-provider.trunk.new" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.trunk.name'] = '<spring:message code="service-provider.trunk.name" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.trunk.description'] = '<spring:message code="service-provider.trunk.description" javaScriptEscape="true"/>';
	CDR.I18N['service-provider.trunk.link-pbx'] = '<spring:message code="service-provider.trunk.link-pbx" javaScriptEscape="true"/>';
	
	CDR.I18N['user.title'] = '<spring:message code="user.title" javaScriptEscape="true"/>';
	CDR.I18N['user.button.all'] = '<spring:message code="user.button.all" javaScriptEscape="true"/>';
	CDR.I18N['user.button.admin'] = '<spring:message code="user.button.admin" javaScriptEscape="true"/>';
	CDR.I18N['user.button.contact'] = '<spring:message code="user.button.contact" javaScriptEscape="true"/>';
	CDR.I18N['user.new'] = '<spring:message code="user.new" javaScriptEscape="true"/>';
	CDR.I18N['user.import'] = '<spring:message code="user.import" javaScriptEscape="true"/>';
	CDR.I18N['user.form.title'] = '<spring:message code="user.form.title" javaScriptEscape="true"/>';
	CDR.I18N['user.form.name'] = '<spring:message code="user.form.name" javaScriptEscape="true"/>';
	CDR.I18N['user.form.full-name'] = '<spring:message code="user.form.full-name" javaScriptEscape="true"/>';
	CDR.I18N['user.form.mobile'] = '<spring:message code="user.form.mobile" javaScriptEscape="true"/>';
	CDR.I18N['user.form.birthday'] = '<spring:message code="user.form.birthday" javaScriptEscape="true"/>';
	CDR.I18N['user.form.email'] = '<spring:message code="user.form.email" javaScriptEscape="true"/>';
	CDR.I18N['user.form.home'] = '<spring:message code="user.form.home" javaScriptEscape="true"/>';
	CDR.I18N['user.form.gender'] = '<spring:message code="user.form.gender" javaScriptEscape="true"/>';
	CDR.I18N['user.form.address'] = '<spring:message code="user.form.address" javaScriptEscape="true"/>';
	CDR.I18N['user.form.fax'] = '<spring:message code="user.form.fax" javaScriptEscape="true"/>';
	CDR.I18N['user.form.station'] = '<spring:message code="user.form.station" javaScriptEscape="true"/>';
	CDR.I18N['user.form.password'] = '<spring:message code="user.form.password" javaScriptEscape="true"/>';
	CDR.I18N['user.form.authorization-code'] = '<spring:message code="user.form.authorization-code" javaScriptEscape="true"/>';
	
	CDR.I18N['organization.tab.title'] = '<spring:message code="organization.tab.title" javaScriptEscape="true"/>';
	CDR.I18N['organization.tree.title'] = '<spring:message code="organization.tree.title" javaScriptEscape="true"/>';
	CDR.I18N['organization.tree.new'] = '<spring:message code="organization.tree.new" javaScriptEscape="true"/>';
	CDR.I18N['organization.tree.edit'] = '<spring:message code="organization.tree.edit" javaScriptEscape="true"/>';
	CDR.I18N['organization.tree.delete'] = '<spring:message code="organization.tree.delete" javaScriptEscape="true"/>';
	CDR.I18N['organization.toolbar.assign-pbx'] = '<spring:message code="organization.toolbar.assign-pbx" javaScriptEscape="true"/>';
	CDR.I18N['organization.toolbar.unassign-pbx'] = '<spring:message code="organization.toolbar.unassign-pbx" javaScriptEscape="true"/>';
	CDR.I18N['organization.toolbar.assign-user'] = '<spring:message code="organization.toolbar.assign-user" javaScriptEscape="true"/>';
	CDR.I18N['organization.toolbar.unassign-user'] = '<spring:message code="organization.toolbar.unassign-user" javaScriptEscape="true"/>';
	CDR.I18N['organization.toolbar.view'] = '<spring:message code="organization.toolbar.view" javaScriptEscape="true"/>';
	CDR.I18N['organization.context-menu.set-admin'] = '<spring:message code="organization.context-menu.set-admin" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-pbx.form.title'] = '<spring:message code="organization.assign-pbx.form.title" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-pbx.form.avaiable'] = '<spring:message code="organization.assign-pbx.form.avaiable" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-pbx.form.selected'] = '<spring:message code="organization.assign-pbx.form.selected" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-pbx.form.assign-to'] = '<spring:message code="organization.assign-pbx.form.assign-to" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-user.form.title'] = '<spring:message code="organization.assign-user.form.title" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-user.form.avaiable'] = '<spring:message code="organization.assign-user.form.avaiable" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-user.form.selected'] = '<spring:message code="organization.assign-user.form.selected" javaScriptEscape="true"/>';
	CDR.I18N['organization.assign-user.form.assign-to'] = '<spring:message code="organization.assign-user.form.assign-to" javaScriptEscape="true"/>';
	
	CDR.I18N['profile.tab.title'] = '<spring:message code="profile.tab.title" javaScriptEscape="true"/>';
	CDR.I18N['profile.new.provider'] = '<spring:message code="profile.new.provider" javaScriptEscape="true"/>';
	CDR.I18N['profile.provider.form.name'] = '<spring:message code="profile.provider.form.name" javaScriptEscape="true"/>';
	CDR.I18N['profile.provider.form.description'] = '<spring:message code="profile.provider.form.description" javaScriptEscape="true"/>';

</script>